{template 'default/templates/common/header-base'}
<style>
</style>
    <link id="barindexCss" rel="stylesheet" href="../addons/meepo_bbs/template/mobile/default/css/person.min.bb5278b5.css" />
    <body class="person">
        <div id="main_wrapper">
            <div id="header">
            	<div class="p-header">
				    <div class="info-bar" onclick="window.location.href='{php echo $this->createMobileUrl('home_profile')}'">
				        <div class="p-round-border">
				            <img class="p-round-img" src="{php echo tomedia($user['avatar'])}">
				        </div>
				        <ul>
				            <li class="p-nick-name">
				                <strong>
				                    {$user['nickname']}
				                </strong>
				            </li>
				            <li class="p-info">
				                <span>
				                    {if $user['gender'] == 2}女{else}男{/if}
				                </span>
				                
				                <span>
				                    {$user['resideprovince']}&nbsp;{$user['residecity']}
				                </span>
				            </li>
				            <li class="p-words p-fold" id="p_fold" data-action="expand">
				               {$user['bio']}
				            </li>
				        </ul>
				    </div>
				    <div class="follow-bar">
				        <div class="follow-wrapper ">
				            <ul class="unit_link" onclick="window.location.href='{php echo murl('mc/bond/credits',array('credittype'=>'credit1'))}'">
				                <li>
				                    {$user['credit1']}
				                </li>
				                <li class="f-desc">
				                    {php echo $user['credit1_title']?$user['credit1_title']:'积分'}
				                </li>
				            </ul>
				            <div class="p-split">
				            </div>
				            <ul class="unit_link fans" onclick="window.location.href='{php echo murl('mc/bond/credits',array('credittype'=>'credit2'))}'">
				                <li>
				                    <span id="fans_counter">
				                        {$user['credit2']}
				                    </span>
				                </li>
				                <li class="f-desc">
				                {php echo $user['credit2_title']?$user['credit2_title']:'元'}
				                </li>
				            </ul>
				            <div id="follow_btn" class="p-btn blue follow" onclick="window.location.href='{php echo $this->createMobileUrl('ec_chong')}'">
				              充值
				            </div>
				        </div>
				    </div>
				    <canvas style="display:block;" class="p-blur-bg" id="h_bg">
				    </canvas>
				    <div class="p-black-bg">
				    </div>
				</div>
				<style>
				 .honor{
				float: right;
  margin-top: 15px;
  margin-right: 10px;
  display: inline-block;
  padding: 0 5px;
  font-size: 12px;
  line-height: 14px;
  -webkit-transform: scale(0.95,.95);
  border-radius: 3px;
				}
				.honor .activity-user{
				color: #cc211a;
  border-color: #cc211a;
				}
				</style>
				<div class="up-wrapper">
				    <div class="msg-wrapper section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('home_message')}'">
				        <span class="icon icon-msg">
				        </span>
				        我的消息
				        <span class="icon right-arrow">
				        	
				        </span>
				        
				        <span class="honor activity-user">
				            {$messagenum}
				        </span>
				    </div>
				    
				    <div class="msg-wrapper section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('home_profile')}'">
				        <span class="icon icon-forward">
				        </span>
				        我的个人信息
				        <span class="icon right-arrow">
				        </span>
				    </div>
				    <div data-action="toHonor" class="honor-wrapper section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('task')}'">
				        <span class="icon icon-honor">
				        </span>
				       新手任务
				        <span class="icon right-arrow">
				        </span>
				        <span class="honor activity-user">
				            {$tasknum}
				        </span>
				    </div>
				</div>
				
				<div class="up-wrapper">
				    <div class="msg-wrapper section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('activity_coupon')}'">
				        <span class="icon icon-exchange">
				        </span>
				       积分兑换
				        <span class="icon right-arrow">
				        </span>
				        
				    </div>
				    
				    <div class="msg-wrapper section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('activity_coupon',array('op'=>'mine'))}'">
				        <span class="icon icon-card">
				        </span>
				        我的卡券
				        <span class="icon right-arrow">
				        </span>
				    </div>
				    <div data-action="toHonor" class="honor-wrapper section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('activity_goods',array('op'=>'mine'))}'">
				        <span class="icon icon-tool">
				        </span>
				       我的订单
				        <span class="icon right-arrow">
				        </span>
				    </div>
				</div>
            </div>
            <div id="follow_bar">
            </div>
            <div id="pulish">
            	<div class="p-wrapper section-1px">
					<h1 class="p-title section-1px unit_link" onclick="window.location.href='{php echo $this->createMobileUrl('home_topic')}'">
					        <span class="icon icon-topic">
					        </span>
					        发表的话题 ({$mytopics_total})
					        <span class="icon right-arrow">
					        </span>
					</h1>
				    <ul class="p-topic-list" style="display:none;">
				    	{loop $mytopics $topic}
				        <li class="section-1px unit_link"  onclick="window.location.href='{php echo $this->createMobileUrl('forum_topic',array('id'=>$topic['id']))}'">
				        	{if !empty($topic['pic'])}
				            <div class="p-topic-img">
				                <img src="{php echo tomedia($topic['pic'])}"
				                style="width:90px; height:135px; margin-left:0px; margin-top:-17.19px;">
				            </div>
				            {/if}
				            <div class="p-t-wrapper">
				                <h2 class="p-t-title">
				                    {$topic['title']}
				                </h2>
				                <p class="p-t-content">
				                    {$topic['content']}
				                </p>
				            </div>
				        </li>
				        {/loop}
				    </ul>
				</div>
            </div>
            <div id="forward">
            </div>
            <div id="reply">
            </div>
            <div id="liked">
            </div>
        </div>
        
{template 'default/templates/common/footer-base'}